package com.tongzhou.tongzhou.update.dao;

import java.util.List;

import com.tongzhou.db.exception.DBException;
import com.tongzhou.tongzhou.update.model.SearchUpdateCodeCondition;
import com.tongzhou.tongzhou.update.model.UpdateCode;

public interface IUpdateCodeDAO {
	public UpdateCode getUpdateCodetById(int id) throws DBException;

	public List<UpdateCode> listUpdateCode(SearchUpdateCodeCondition condition) throws DBException;
	public int addUpdateCode(UpdateCode updateCode) throws DBException;
	public void deleteUpdateCode(int id) throws DBException;
	public UpdateCode getUpdateCodeById(int id) throws DBException;
	public void updateUpdateCode(UpdateCode updateCode) throws DBException;

}
